package com.neusoft.ehr.service.impl;

import com.neusoft.ehr.mapper.DeptMapper;
import com.neusoft.ehr.service.DeptService;
import com.neusoft.entity.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    DeptMapper deptMapper;
    @Override
    public List<Dept> getbymgr(int mgr) {
        return deptMapper.getbymgr(mgr);
    }
}
